package com.nfw.demo.dao;

import com.nfw.demo.entity.Users;

import java.util.List;

public interface UsersMapper {
    int insert(Users record);

    int insertSelective(Users record);

    int selectIsName(Users users);

    int findId(Users users);

    List<Users> selectUUUURRR();

    String selectPasswordByName(Users users);

    Users selectUserAndPswd(Users users);

    Users selectAllByName(String username);  //选择姓名（已经激活，用于shiro）

    Users checkCode(String code); //激活码查询用户

    void updateUserState(Users users); //激活，修改状态1

    void updatePassword(Users users); //更新密码

    void upAntiCode(Users users); //更新code

    void basicUpdate(Users users);  //基础更新操作


}